package lxt.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * InvoiceOrder entity. @author MyEclipse Persistence Tools
 */

public class InvoiceOrder  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    

     private String orderId;
     private ClientInfo clientInfoBySClient;
     private ClientInfo clientInfoByRClient;
     private String cargoName;
     private String cargoNorm;
     private double unitPrice;
     private double cargoQuantity;
     private String unit;
     private double totalFee;
     private Integer chargeType;
     private double SCharge;
     private double RCharge;
     private String SClientName;
     private String SClientPhone;
     private String SAddress;
     private Date STime;
     private String RClientName;
     private String RClientPhone;
     private String RAddress;
     private Date RTime;
     private Date entryTime;
     private String username;
     private String note;
     private Set<Object> chargeRecords = new HashSet<Object>(0);
     private Set<Object> invoiceInfos = new HashSet<Object>(0);


    // Constructors

    /** default constructor */
    public InvoiceOrder() {
    }

	/** minimal constructor */
    public InvoiceOrder(Date entryTime) {
        this.entryTime = entryTime;
    }
    
    /** full constructor */
    public InvoiceOrder(ClientInfo clientInfoBySClient, ClientInfo clientInfoByRClient, String cargoName, String cargoNorm, long unitPrice, long cargoQuantity, String unit, long totalFee, Integer chargeType, long SCharge, long RCharge, String SClientName, String SClientPhone, String SAddress, Date STime, String RClientName, String RClientPhone, String RAddress, Date RTime, Date entryTime, String username, String note, Set<Object> chargeRecords, Set<Object> invoiceInfos) {
        this.clientInfoBySClient = clientInfoBySClient;
        this.clientInfoByRClient = clientInfoByRClient;
        this.cargoName = cargoName;
        this.cargoNorm = cargoNorm;
        this.unitPrice = unitPrice;
        this.cargoQuantity = cargoQuantity;
        this.unit = unit;
        this.totalFee = totalFee;
        this.chargeType = chargeType;
        this.SCharge = SCharge;
        this.RCharge = RCharge;
        this.SClientName = SClientName;
        this.SClientPhone = SClientPhone;
        this.SAddress = SAddress;
        this.STime = STime;
        this.RClientName = RClientName;
        this.RClientPhone = RClientPhone;
        this.RAddress = RAddress;
        this.RTime = RTime;
        this.entryTime = entryTime;
        this.username = username;
        this.note = note;
        this.chargeRecords = chargeRecords;
        this.invoiceInfos = invoiceInfos;
    }

   
    // Property accessors

    public String getOrderId() {
        return this.orderId;
    }
    
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public ClientInfo getClientInfoBySClient() {
        return this.clientInfoBySClient;
    }
    
    public void setClientInfoBySClient(ClientInfo clientInfoBySClient) {
        this.clientInfoBySClient = clientInfoBySClient;
    }

    public ClientInfo getClientInfoByRClient() {
        return this.clientInfoByRClient;
    }
    
    public void setClientInfoByRClient(ClientInfo clientInfoByRClient) {
        this.clientInfoByRClient = clientInfoByRClient;
    }

    public String getCargoName() {
        return this.cargoName;
    }
    
    public void setCargoName(String cargoName) {
        this.cargoName = cargoName;
    }

    public String getCargoNorm() {
        return this.cargoNorm;
    }
    
    public void setCargoNorm(String cargoNorm) {
        this.cargoNorm = cargoNorm;
    }

    public double getUnitPrice() {
        return this.unitPrice;
    }
    
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public double getCargoQuantity() {
        return this.cargoQuantity;
    }
    
    public void setCargoQuantity(double cargoQuantity) {
        this.cargoQuantity = cargoQuantity;
    }

    public String getUnit() {
        return this.unit;
    }
    
    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getTotalFee() {
        return this.totalFee;
    }
    
    public void setTotalFee(double totalFee) {
        this.totalFee = totalFee;
    }

    public Integer getChargeType() {
        return this.chargeType;
    }
    
    public void setChargeType(Integer chargeType) {
        this.chargeType = chargeType;
    }

    public double getSCharge() {
        return this.SCharge;
    }
    
    public void setSCharge(double SCharge) {
        this.SCharge = SCharge;
    }

    public double getRCharge() {
        return this.RCharge;
    }
    
    public void setRCharge(double RCharge) {
        this.RCharge = RCharge;
    }

    public String getSClientName() {
        return this.SClientName;
    }
    
    public void setSClientName(String SClientName) {
        this.SClientName = SClientName;
    }

    public String getSClientPhone() {
        return this.SClientPhone;
    }
    
    public void setSClientPhone(String SClientPhone) {
        this.SClientPhone = SClientPhone;
    }

    public String getSAddress() {
        return this.SAddress;
    }
    
    public void setSAddress(String SAddress) {
        this.SAddress = SAddress;
    }

    public Date getSTime() {
        return this.STime;
    }
    
    public void setSTime(Date STime) {
        this.STime = STime;
    }

    public String getRClientName() {
        return this.RClientName;
    }
    
    public void setRClientName(String RClientName) {
        this.RClientName = RClientName;
    }

    public String getRClientPhone() {
        return this.RClientPhone;
    }
    
    public void setRClientPhone(String RClientPhone) {
        this.RClientPhone = RClientPhone;
    }

    public String getRAddress() {
        return this.RAddress;
    }
    
    public void setRAddress(String RAddress) {
        this.RAddress = RAddress;
    }

    public Date getRTime() {
        return this.RTime;
    }
    
    public void setRTime(Date RTime) {
        this.RTime = RTime;
    }

    public Date getEntryTime() {
        return this.entryTime;
    }
    
    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }

    public Set<Object> getChargeRecords() {
        return this.chargeRecords;
    }
    
    public void setChargeRecords(Set<Object> chargeRecords) {
        this.chargeRecords = chargeRecords;
    }

    public Set<Object> getInvoiceInfos() {
        return this.invoiceInfos;
    }
    
    public void setInvoiceInfos(Set<Object> invoiceInfos) {
        this.invoiceInfos = invoiceInfos;
    }
   








}